home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / PROGRAM / SWAPUNIT.ARJ / SWAPTEST.MAP < prev    next >
Text File  |  1992-01-20  |  1KB  |  34 lines

  1.  
  2. This is the map file generated by Turbo Pascal version 6.0 on SWAPTEST:
  3.  
  4.  Start  Stop   Length Name               Class
  5.  
  6.  00000H 00263H 00264H SWAPTEST           CODE
  7.  00270H 00ED5H 00C66H SWAPUNIT           CODE
  8.  00EE0H 014F3H 00614H CRT                CODE
  9.  01500H 0156DH 0006EH DOS                CODE
  10.  01570H 02165H 00BF6H SYSTEM             CODE
  11.  02170H 0251BH 003ACH DATA               DATA
  12.  02520H 0451FH 02000H STACK              STACK
  13.  04520H 04520H 00000H HEAP               HEAP
  14.  
  15.  
  16. Notice the order of the areas in the program block.  The areas at the top of
  17. the list appear earlier in the memory block.  All sizes and offsets are in
  18. hexadecimal.
  19.  
  20. The SWAPTEST area is the code of the main program, 581 bytes in this case
  21. (a lot of which is the literal strings in the code).  This is followed by
  22. the SWAPUNIT code, which totals 3174 bytes.  Approximately 2000 bytes of
  23. this will remain in memory after the swap (in order to handle the swapping
  24. back).  This is followed by the other units and finally by the data, stack,
  25. and heap.  In this case, there is no minimum heap (length is 0), and since
  26. the maximum heap was set to 0, no heap will be allocated at run-time.
  27.  
  28. Always check the map file of your final program in order to see what can
  29. be swapped by SWAPUNIT.
  30.  
  31. Please see the documentation for usage details and information.
  32.  
  33. Thank you for your support, and I hope that you find this unit useful.
  34.